{% extends '::base.html.twig' %}
{% block title %}{% trans %}Sign up{% endtrans %}{% endblock %}

{% block body %}
{% include 'ObjectsUserBundle:User:signup_popup.html.twig' %}
{% endblock %}

{% block javascripts %}
{{parent()}}
<script>
    var loginNameError = "{% trans %}Only characters, numbers and _ is valid{% endtrans %}";
    var loginNameNotExist = "{% trans %}valid{% endtrans %}";
    var loginNameExist = "{% trans %}This value is already used{% endtrans %}";
    var mailcheckMessage = "{% trans %}Did you mean{% endtrans %}";
    var loginNameCheckUrl = "{{ path('login_name_check') }}";
</script>
<script src="{{ asset('bundles/objectsuser/js/xregexp-all.js') }}"></script>
<script src="{{ asset('bundles/objectsuser/js/mailcheck.js') }}"></script>
<script src="{{ asset('bundles/objectsuser/js/signUp.js') }}"></script>
{% endblock %}